<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<c:import url="topShow.jsp" />

<script src="<c:url value='/scripts/jquery-latest.pack.js'/> " type="text/javascript"></script>
<script src="<c:url value='/scripts/jquery.skygqbox.js'/> " type="text/javascript"></script>
<script>

	function resizeMainFrame(h){
		document.getElementById('mainFrame').style.height = h + 'px';
	}

	function changeMap(mapTitle){
		$('#submap').text(mapTitle);
	}

	function setIframe(url){
		url = '<%=request.getContextPath()%>/monitor/'+url;
		$("#mainFrame").attr("src",url);
	}

	function newWin(url){
		window.open(url, '');
	}

	function showMainFrame(){
		setIframe('selectMenu');
		changeMap('');
	}
</script>

<body>
<table class="top">
	<tr>
		<td width="40" class="topl"></td>
		<td width="840">
		<div class="plat_title"><img
			src="<c:url value='/images/toptitle.gif' />" /></div>
		</td>
		<td width="21"></td>
		<td width="20"></td>
		<td width="29">
		<div class="closebtn"></div>
		</td>
	</tr>
</table>
<table class="content">
	<tr>
		<td class="main_l"></td>
		<td class="main_lbar"></td>
		<td width="918" valign="top">
		<div class="banner"><img
			src="<c:url value='/images/banner.jpg'/>" /></div>
		<div class="user_status"><span><input type="button"
			class="btn40" value="退出" onclick="location.href='<%=request.getContextPath()%>/exit.jsp'"/></span>
			<span><input type="button" value="帐号管理" class="bnt60" onclick="newWin('<%=request.getContextPath()%>/user/showSelfAccManage/${userInfo.userID}')"/></span>
			<span><input type="button" class="bnt60" value="文档资料" onclick="newWin('<%=request.getContextPath()%>/index.jsp')"/></span>
			欢迎 ${userInfo.userName}!</div>
		<div><span>&nbsp;&nbsp;<a href="javascript:showMainFrame();">首页</a></span><span id="submap"></span></div>
		<br />
		<iframe id="mainFrame" class="op_con" frameborder="0" style="width:918px;height:100px;margin:0 auto;border:0px;" src="<%=request.getContextPath()%>/monitor/selectMenu">

		</iframe>
		</td>
		<td class="main_rbar"></td>
		<td class="main_r"></td>
	</tr>
</table>
<c:import url="foot.jsp" />
</body>
<c:import url="/staticFoot.jsp"></c:import>
</html>
